package com.rc.evcharger.mapper.discount;

import com.rc.evcharger.common.base.BaseMapper;
import com.rc.evcharger.model.discount.TenantDiscountTime;
import com.rc.evcharger.model.discount.TenantDiscountTimeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TenantDiscountTimeMapper extends BaseMapper<Long, TenantDiscountTime, TenantDiscountTimeExample> {
    TenantDiscountTime selectValidTime(@Param(value = "discountPolicyId") Long discountPolicyId,@Param(value = "time") String time);

    List<TenantDiscountTime> list(@Param(value = "discountPolicyId") Long discountPolicyId);
}